﻿namespace VideoTools.SubtitleEdit.Common
{
    /// <summary>
    /// Configuration settings via Singleton pattern
    /// </summary>
    public class Configuration
    {
        public static readonly Color ListViewSyntaxErrorColor = Color.FromArgb(255, 180, 150);
        public static readonly string DefaultLinuxFontName = "DejaVu Serif";
        public static readonly string DefaultSubtitleFormat = "SubRip";
        
        public static readonly string FavoriteSubtitleFormats = null;
        public static readonly bool BluRaySupSkipMerge = false;
        public static readonly bool BluRaySupForceMergeAll = false;
        public static readonly bool UseTimeFormatHHMMSSFF = false;
        public static readonly bool RightToLeftMode = false;
        public static readonly bool ListViewShowColumnStartTime = true;
        public static readonly bool ListViewShowColumnEndTime = true;
        public static readonly bool ListViewShowColumnDuration = true;
        public static bool ListViewColumnsRememberSize = true;
        public static bool ListViewSyntaxColorDurationSmall = true;
        public static bool ListViewSyntaxColorDurationBig = true;
        public static bool ListViewSyntaxColorOverlap = true;
        public static bool ListViewSyntaxColorLongLines = true;
        public static bool ListViewSyntaxColorWideLines = false;
        public static bool ListViewSyntaxMoreThanXLines = true;
        public static bool ListViewSyntaxColorGap = true;
        public static double CurrentFrameRate = 23.976;
        public static int MinimumMillisecondsBetweenLines = 24;
        public static int SubtitleLineMaximumLength = 43;
        public static int MaxNumberOfLines = 2;
        public static int MaxNumberOfLinesPlusAbort = 1;
        public static int ListViewGapWidth = 0;
        public static int ListViewWpmWidth = 0;
        public static int ListViewNumberWidth = 0;
        public static int ListViewActorWidth = 0;
        public static int ListViewCpsWidth = 0;
        public static int ListViewDurationWidth = 0;
        public static int ListViewStartWidth = 0;
        public static int ListViewEndWidth = 0;
        public static int ListViewRegionWidth = 0;
        public static int ListViewTextWidth = 0;
        public static int SubtitleLineMaximumPixelWidth = 576;
        public static string MeasureFontName = "Arial";
        public static int MeasureFontSize = 24;
        public static bool MeasureFontBold = false;
        public static int SubtitleMinimumDisplayMilliseconds = 1000;
        public static int SubtitleMaximumDisplayMilliseconds = 8 * 1000;
        public static double SubtitleMaximumCharactersPerSeconds = 25.0;
        public static double SubtitleMaximumWordsPerMinute = 400;
        public static readonly long CurrentVideoOffsetInMs = 0L;
        public static readonly  string UppercaseLetters = "ABCDEFGHIJKLMNOPQRSTUVWZYXÆØÃÅÄÖÉÈÁÂÀÇÊÍÓÔÕÚŁАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯĞİŞÜÙÁÌÑÎΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ";

    }
}
